import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'carbon:build-run',
      order: 1,
      title: $t('page.quickStart.title'),
    },
    name: 'QuickStart',
    path: '/quick-start',
    children: [
      {
        name: 'Data',
        path: '/quick-start/data',
        component: () => import('#/views/quick-start/data/index.vue'),
        meta: {
          icon: 'gg:data',
          title: $t('page.quickStart.dataSquare'),
        },
      },
      {
        name: 'Services',
        path: '/quick-start/services',
        component: () => import('#/views/quick-start/services/index.vue'),
        meta: {
          icon: 'clarity:data-cluster-line',
          title: $t('page.quickStart.baseServices'),
        },
      },
      {
        name: 'Cases',
        path: '/quick-start/cases',
        component: () => import('#/views/quick-start/cases/index.vue'),
        meta: {
          icon: 'icon-park-outline:market-analysis',
          title: $t('page.quickStart.casesCenter'),
        },
      },
    ],
  },
];

export default routes;
